EXECUTABLE=hello.exe

CC=gcc

LDFLAGS=
CFLAGS=-c -Wall

.PHONY : clean
.SUFFIXES: .exe .c .o

all: clean build run

build: $(EXECUTABLE)

.o.exe:
	$(CC) $< -o $@

.c.o:
	$(CC) $(CFLAGS) $< -o $@

clean:
	rm -rf *.o $(EXECUTABLE)

run:
	./run.sh
